package ee.ut.battleship;

import java.util.List;

public class Ship {

	
	private String id;
	private String itselfString;
	private String nodropString;
	private List<String> itself;
	private List<String> nodrop;
	private List<String> hitlist;

	
	


	public Ship(String id, String itselfString, String nodropString) {
		this.id = id;
		this.itselfString = itselfString;
		this.nodropString = nodropString;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getId() {
		return id;
	}


	public void setShiplist(String shiplist) {
		this.itselfString = shiplist;
	}


	public String getShiplist() {
		return itselfString;
	}


	public void setItself(List<String> itself) {
		this.itself = itself;
	}


	public List<String> getItself() {
		return itself;
	}


	public void setHitlist(List<String> hitlist) {
		this.hitlist = hitlist;
	}


	public List<String> getHitlist() {
		return hitlist;
	}
	
	
	public String getItselfString() {
		return itselfString;
	}


	public void setItselfString(String itselfString) {
		this.itselfString = itselfString;
	}
	public String getNodropString() {
		return nodropString;
	}


	public void setNodropString(String nodropString) {
		this.nodropString = nodropString;
	}


	public List<String> getNodrop() {
		return nodrop;
	}


	public void setNodrop(List<String> nodrop) {
		this.nodrop = nodrop;
	}

	public String toString() {
		return "id: "+ id +", itselfString: " + itselfString + ", itself: " + itself.toString() + "nodrop: "+ nodrop.toString() +  ", hitlist: "+hitlist.toString()+"\n";
	}
	
}
